package top.scsoul.pas.service;

import org.springframework.data.domain.Page;
import top.scsoul.pas.entity.ExamInfo;
import top.scsoul.pas.entity.User;

import java.util.List;

public interface ExamInfoService {
    void addExamInfo(ExamInfo examInfo);
    List<ExamInfo> findByCreator(User user, int currentPage, int pageSize);
    Page<ExamInfo> findAll(int currentPage, int pageSize);
    void deleteExamInfo(Long id);
    ExamInfo findById(Long id);
}
